﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"  th:headers="utf-8">
<head>
	<meta charset="utf-8">
	<meta name="author" content="Kodinger">
	<title>宿舍管理系统 &mdash; 登录页面</title>
	<link rel="stylesheet" type="text/css" th:href="@{/bootstrap/css/bootstrap.min.css}">
	<link rel="stylesheet" type="text/css" th:href="@{/css/my-login.css}">
</head>
<body class="my-login-page">

	<section class="h-100">
	<div class="container h-100">
		<div class="row justify-content-md-center h-100">
			<div class="card-wrapper">
				<div class="brand">
					<img th:src="@{/img/logo.jpg}">
				</div>
				<div class="card fat">
					<div class="card-body">
						<h4 class="card-title">宿舍管理系统</h4>
						<form th:action="@{/user/login}" >
                              <p  style="color:red;" th:text="${msg}" th:if="${ not #strings.isEmpty(msg)}"></p>
							<div class="form-group">
								<label >用户名</label>

								<input id="email" th:type="text" class="form-control" name="username" value="" >
							</div>

							<div class="form-group">
								<label for="password">密码
									<a href="forgot.html" class="float-right">
										忘记密码？
									</a>
								</label>
								<input id="password" type="password" class="form-control" name="password" required data-eye>
							</div>

							<div class="form-group">
								<label>
									<input type="checkbox" name="remember"> 记住密码
								</label>
							</div>

							<div class="form-group no-margin">
								<button type="submit" class="btn btn-primary btn-block">
									登录
								</button>
							</div>

						</form>
					</div>
				</div>
				<div class="footer">

				</div>
			</div>
		</div>
	</div>
</section>



	<script th:src="@{/js/jquery.min.js}"></script>
	<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
	<script th:src="@{/js/my-login.js}"></script>
<style>
.copyrights{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
</style>
<div class="copyrights" id="links20210126">
	Collect from <a href="http://www.cssmoban.com/"  title="网站模板">模板之家</a>
	<a href="http://cooco.net.cn/" title="组卷网">组卷网</a>
</div>
</body>
</html>